package vip.xiaonuo.invoice.modular.job;

import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import vip.xiaonuo.common.timer.CommonTimerTaskRunner;
import vip.xiaonuo.invoice.modular.service.impl.InvoiceServiceImpl;
@Component
public class InvoiceStatusUpdateJob  implements CommonTimerTaskRunner {

    @Resource
    InvoiceServiceImpl invoiceServiceImpl;

    @Override
    public void action(String extJson) {
        invoiceServiceImpl.queryAndUpdateInvoice();
    }
}
